*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
li{
    list-style: none;
}
a{
    text-decoration: none;
}
/* 魅族官网头部样式 */
.meizu-header{
    width: 100%;
    position:absolute;
    top: 0;
    z-index: 999;
}
.meizu-header-bg{
    background-color: #fff;
}
.mz-header-wrap{
    width: 1240px;
    margin: 0 auto;
    position: relative;
}
.mz-header-logo{
    float: left;
    padding: 28px 0;
    width: 125px;
    height: 80px;
}
.meizu-header-logo-img{
    display: block;
    width: 125px;
    height: 24px;
    background-repeat: no-repeat;
    background-position: 50%;
}
.meizu-header-logo-img svg{
    width: 125px;
    height: 24px;
}
.mz-header-cart{
    position: relative;
    float: right;
    margin: 27px 0 0 8px;
    width: 29px;
    height: 29px;
    background: url('https://upload-images.jianshu.io/upload_images/18223867-7a275b8f30182e89.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240');
    background-size: 100%;

    
}
.mz-header-cart em{
    position: absolute;
    top: -2px;
    right: -3px;
    height: 15px;
    border-radius: 50%;
    background: #c00;
    color: #fff;
    line-height: 15px;
    text-align: center;
    display: inline-block;
    padding: 0 4px;
    text-indent: 0;
    font-style: normal;
}
.mz-header-user{
    float: right;
    padding: 28px 0 0 8px;
    text-align: right;
    font-size: 12px;
    position: relative;
    z-index: 1050;
}
.mz-user-img{
    position: relative;
    cursor: pointer;
    z-index: 3;
    width: 29px;
    height: 29px;
    background: url("https://upload-images.jianshu.io/upload_images/18223867-8abb5feb367392a3.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240");
    background-size: 100%;
}
.mz-user-dropdown{
    display: none;
    position: absolute;
    right: 0;
    z-index: 1;
    width: 98px;
    background-color: #fff;
    top: 64px;
    left: 50%;
    border-radius: 2px;
    box-sizing: border-box;
    text-align: center;
    padding: 15px 0;
    margin-left: -48px;
    box-shadow: 0 0 5px rgba(0,0,0,.1);
}

.mz-header-user:hover .mz-user-dropdown{
    display: block;
}


.mz-user-dropdown li{
    font-size: 12px;
    display: block;
    margin: 15px auto;
    
}
.mz-user-dropdown li a{
    color:#aaa;
}


.mz-header-seach{
    position: relative;
    float: right;
    margin: 26px 5px 0 10px;
    width: 170px;
    height: 30px;
    line-height: 29px;
    font-size: 12px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #999;
    box-sizing: border-box
}
.mz-header-seach input{
    display: block;
    border: none;
    padding: 0;
    outline: 0;
    width: 127px;
    height: 20px;
    margin-left: 15px;
    margin-top: 5px;
    transition: width .5s;
    font-size: 12px;
    line-height: 20px;
    color: #333;
    background: transparent;
    box-sizing: content-box;
    outline-offset: 0;
}
.mz-header-seach a{
    background: url('https://upload-images.jianshu.io/upload_images/18223867-fdae67954e075d38.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240');
    background-size: 100%;
    position: absolute;
    top: 6px;
    bottom: 0;
    right: 2px;
    display: block;
    width: 18px;
    height: 16px;
    background-position: 50%;
    cursor: pointer;
}
.mz-header-link{
    float: right;
    overflow: hidden;
    white-space: nowrap;
}
.mz-header-link li{
    float: left;
   
}


.mz-header-link li a{
    display: block;
    padding: 31px 20px 30px;
    line-height: 21px;
    font-size: 14px;
    transition: color .1s linear;
    color: #fff;
}
.mz-header-link li a:hover{
    color: blue;

}


/* 二级菜单隐藏显示 */
.mz-header-sub{
    width: 100%;
   
    position: absolute;
    top: 82px;
    z-index: 1000;
    background: #fff;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    visibility: hidden;
   

}
.show{
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    visibility: visible
}
.mz-header-sub-wrap{
    width: 1240px;
    margin: 0 auto;
}
.mz-header-sub-list{
    width: 1240;
    height: 191px;
}
.mz-header-sub-list li{
    display: inline-block;
    text-align: center;
    margin: 0;
    list-style: none;
    filter: alpha(opacity=0);
    *zoom: 1;
    padding: 5px 5px 20px;
    width: 142px;
    height: 140px;
    opacity: 0.6;
    font-size: 12px;
    color: #333;
}
.mz-header-sub-list li:hover{
    opacity: 1;
}
.mz-header-sub-list li a{
    font-size: 12px;
    width: 142px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    padding: 0;
    cursor: pointer;
    position: relative;
    z-index: 99;
}
.mz-sub-i{
    display: block;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 120px;
    background-image:url("https://openfile.meizu.com/group1/M00/07/12/Cgbj0Vx_ZK6AaEObAAa1DJqn7us376.png@240x240.jpg"); 
}

.mz-sub-a em{
    display: block;
    color: #333;
    font-style: normal;
}

/* banner图部分样式 */
.swiper-container{
    width: 100%;
    height: 670px;
    
 }



/* 主体部分contanier */
.index-contanier{
    background: #f4f4f4;
    min-width: 1240px;
    overflow: hidden;
    min-height: 1000px;
}
.index-adv-center{
    height: 278px;
    width: 100%;
    margin-bottom: 50px;
}
.mz-adv-phone{
    height: 278px;
    padding-bottom: 45px;
    border-bottom: 1px solid #eee;
    overflow: hidden;
    background-color: #fff;
}
.mz-adv-phones{
    height: 232px;
    max-width: 1240px;
    margin: 0 auto;
}
.mz-adv-phones li{
    float: left;
    position: relative;
    width: 25%;
    padding-top: 45px;
    height: 232px;
}
.mz-adv-phones li a{
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    background-repeat: no-repeat;
    background-position: 50%;
}
.mz-adv-phones li a em{
    display: block;
    color: #333;
    font-size: 20px;
    font-style: normal;
}
.mz-adv-phones li a p{
    font-size: 14px;
    color: #999;
}

/* 手机展览区 */
.mz-show-phone {
    margin-bottom: 50px;
    position: relative;
}
.show-title{
    font-size: 30px;
    text-align: center;
    margin-bottom: 10px;
    height: 45;
}
.show-title h3{
    font-size: 1em;
    font-weight: 400;
    font-style: normal;
}

.section-box-adv{
    height: 450px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    overflow: hidden;
    position: relative;
}
.box-adv-ad{
width: 100%;
height: 100%;
transition: opacity .2s linear;
}

.lazy-img{
    position: absolute;
    width: auto;
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}


.show-phone-box{
    width: 100%;
}
.show-phone-warp{
    width: 1240px;
    margin: auto;
}

.show-phone-list{
    width: 100%;
    height: 1390px;
}

.show-phone-list .big{
    float: left;
    position: relative;
    width: 615px;
    height: 610px;
    margin-right: 9px;
    margin-top: 10px;
    background-color: #fff;
    overflow: hidden;
    transition: all .3s ease;
}
.show-phone-list .big .big1-box{
    width: 100%;
    height: 100%;

}
.show-box-img{
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    background-repeat: no-repeat;
    background-position: 50%;
}
.show-box-img img{
    position: absolute;
    left: 50%;
    bottom: 0;
    height: 460px;
    margin-left: -250px;
}

.phone-title{
    position: absolute;
    top: 270px;
    left: 0;
    width: 100%;
    text-align: center;
    top:50px;
}
.goods-name{
    color: #333;
    font-size: 28px;
    margin-bottom: 0;
    display: block;
}
.goods-desc{
    color: #333;
    font-size: 18px;
    margin-bottom: 3px;
    display: block;
}
.goods-price{
    position: relative;
    display: inline-block;
    color: #c00;
    font-size: 22px;
    padding-left: 14px;
    display: block;
 
}

.goods-price i{
    font-size: 14px;
    font-style: normal;
}
.big1-hot{
    background-image: linear-gradient(120deg,#ff3149,#ff64a6);
    position: absolute;
    top: 30px;
    left: 30px;
    display: block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    color: #fff;
    font-size: 16px;
    text-align: center;
    border-radius: 50%;
}

.show-phone-list .big .big2{
    margin-right: 0;
}
/* big手机下面的下手机排列 */
.box-adv-ad:hover{
    opacity: 0.7;
}

.phone{
    float: left;
    position: relative;
    width: 303px;
    height: 375px;
    margin-right: 9px;
    margin-top: 10px;
    background-color: #fff;
    overflow: hidden;
    transition: all .3s ease;
}

.phone3-box{
    height: 100%;
}
.img-box{
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    background-repeat: no-repeat;
    background-position: 50%;
}
.img-box img{
    height: 230px;
    margin-top: 30px;
}
.phone3-phone-title{
    position: absolute;
    top: 270px;
    left: 0;
    width: 100%;
    text-align: center;
    
}
.phone3-goods-name{
    color: #333;
    font-size: 16px;
    margin-bottom: 2px;
   display: block;
}
.phone3-goods-desc{
    color: #999;
    font-size: 14px;
    display: block;
}
.phone3-goods-price{
    position: relative;
    display: inline-block;
    color: #c00;
    font-size: 22px;
    padding-left: 14px;
}
.phone3-goods-price i{  
    position: absolute;
    left: 0;
    font-size: 14px;
    bottom: 3px;
    font-style: normal;
}
.phone3-hot{
    background-image: linear-gradient(120deg,#ff3149,#ff64a6);
    position: absolute;
    top: 30px;
    left: 30px;
    display: block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    color: #fff;
    font-size: 16px;
    text-align: center;
    border-radius: 50%;
}
.phone4 .phone3-hot, .phone5 .phone3-hot, .phone6 .phone3-hot, .phone7 .phone3-hot, .phone8 .phone3-hot, .phone9 .phone3-hot, .phone10 .phone3-box .img-box .phone3-hot{
    background-image: linear-gradient(120deg,#2e74f6,#56bdf9);
} 

/* 魅族声学 */
.show-headset-box{
    width: 100%;

}
.show-headset-warp{
    width: 1240px;
    margin: auto;
}
.show-headset-list{
    width: 100%;
    height: 1155px;
}
.show-headset-list li{
    float: left;
    position: relative;
    width: 303px;
    height: 375px;
    margin-right: 9px;
    margin-top: 10px;
    background-color: #fff;
    overflow: hidden;
    transition: all .3s ease;
}
.show-headset-list li:nth-child(4){
    margin-right: 0;
}
.show-headset-list li:nth-child(8){
    margin-right: 0;
}
.show-headset-list li:nth-child(12){
    margin-right: 0;
}
.show-headset-list li s{
    font-size: 14px;
    margin-left: 8px;
    color: #666;
}
.x{
    display: none;
}
.show-headset-list .header-big-img img{
    margin-top: 0;
    width: 100%;
    height: 100%;
}
.show-headset-list .header-big-img .phone3-goods-name{
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 0;
}
.show-headset-list .header-big-img .phone3-goods-desc{
    color: #fff;
}
.show-headset-list .header-big-img .phone3-goods-price{
    font-size: 24px;
    font-weight: 700;
    color: #6ad0c4;
}


/* 智能配件 */
.show-parts-box{
    width: 100%;

}
.show-parts-warp{
    width: 1240px;
    margin:auto;
}
.show-parts-list{
    width: 100%;
    height: 770px;
}


/* 生活周边  参照上述样式写成*/

/* 社区热帖*/
.mz-community-hot{
    margin-bottom: 50px;
}
.mz-community-title{
    font-size: 30px;
    text-align: center;
    margin-bottom: 10px;
}
.mz-community-title h3{
    font-size: 1em;
    font-weight: 400;
    font-style: normal;
}


.community-hot-box{
    width: 100%;

}
.community-hot-wrap{
    width: 1240px;
    margin: auto;
}
.community-hot-list{
    height: 794px;
    width: 100%;
}
.community-hot-list li{
    float: left;
    position: relative;
    width: 303px;
    height: 388px;
    margin-right: 9px;
    margin-bottom: 9px;
    background-color: #fff;
    overflow: hidden;
    transition: all .3s ease;
}
.community-hot-list li:nth-child(4){
    margin-right: 0;
}
.community-hot-list li:nth-child(8){
    margin-right: 0;
}
.hot-box{
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    background-repeat: no-repeat;
    background-position: 50%;
}
.img-wrap{
    height: 190px;
    position: relative;
    overflow: hidden;
}
.img-wrap img{
    display: block;
    margin: 0 auto;
    width: 100%;
    height: 100%;
}
.hot-user-info{
    overflow: hidden;
    height: 42px;
    line-height: 42px;
    margin-top: 10px;
    padding: 0 15px;
    position: relative;
}
.hot-user-info img{
    width: 36px;
    height: 36px;
    border: 1px solid #fff;
    border-radius: 50%;
    float: left;
    box-shadow: 1px 1px 1px 1px #eee;
    
}
.hot-username{
    margin-left: 15px;
    text-align: left;
    float: left;
    color: #202020;
    position: absolute;
    font-size: 14px;
    top:-10px;
    left: 40px;
}
.hot-box-img p{
    padding: 10px 15px 15px;
    font-size: 16px;
    line-height: 27px;
    text-align: left;
    height: 66px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    color: #515151;
}
.hot-box-img span{
    color: #999;
    display: block;
    padding: 0 15px;
    margin-top: 10px;
    text-align: left;
}

/* 魅族底部设计 */
.meizu-footer{
    width: 100%;
    height: 248px;
}
.mz-footer-link{
    width: 100%;
    height: 248px;
    padding: 48px 0 20px;
}
.mz-footer-wrap{
    width: 1240px;
    height: 179px;
    margin: 0 auto;
}
.mz-footer-serve{
    width: 100%;
    height: 85px;
}
.serve-list{
    width: 1000px;
    height: 69px;
    float: left;
    font-size: 14px;
    color: #515151;
}
.serve-list li{
    float: left;
    text-align: center;
    width: 15%;
}
.serve-list li a{
    line-height: 27px;
    font-size: 12px;
    color: #666;
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-align: center;
}
.serve-list li a img{
    width: 50px;
    display: block;
    margin: 0 auto;
}

.serve-list span{
    line-height: 30px;
    color: #999;
}
.mz-hotline{
    float: right;
    text-align: right;
    margin-top: -18px;
    font-size: 14px;
    color: #515151;
    position: relative;
    width: 156px;
    height: 103px;
}
.mz-hotline span{
    color: #999;
    font-size: 12px;
    line-height: 30px;
    text-align: right;
}
.tel{
    color: #00c3f5;
    font-size: 25px;
    font-weight: 400;
    margin-top: -6px;
    line-height: 40px;
    width: 156px;
    text-align: right;
    max-height: 100%;
    height: 40px;
    display: block;
    text-align: left;
    white-space: nowrap;
}
.online-btn{
    height: 30px;
    padding: 0 16px;
    overflow: hidden;
    position: relative;
    text-align: center;
    line-height: 30px;
    color: #fff;
    border-radius: 20px;
    margin-top: 3px;
    display: inline-block;
    font-size: 14px;
    background: #0bbbef;
}
.footer-hr{
    margin: 20px auto 28px;
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #eee;
    padding: 0;
    clear: both;

}

.mz-footer-bottom{
    width: 1240px;
    height: 55px;
}
.mz-row{
    width: 100%;
    height: 100%;
    position: relative;
    font-size: 14px;
    color: #515151;
}

.mz-info-left{
    color: #999;
    text-align: left;
    font-size: 12px;
    float: left;
}
.mz-info-left .clearfix li{
    padding-right: 15px;
    border-right: 1px solid #d6d6d6;
    float: left;
    height: 18px;
    margin-right: 15px;
}
.clearfix .no-border{
    border: none;
}
.mz-footer-certificate{
    margin-top:28px; 
}
.mz-footer-certificate a{
   color: #999;
}

.mz-info-right{
    float: right;
    margin-top: 25px;
    position: relative;
    width: 160px;
    height: 30px;
}
.mz-info-right a{
    width: 40px;
    height: 30px;
}
.mz-info-right a img{
    position: absolute;
    bottom: 40px;
    left: -20px;
    width: 180px;
    display: none;
    margin-bottom: -9px;
  
}
.icon{
   background-image: url("https://fms.res.meizu.com/dms/2019/01/07/3b085af8-a47b-453c-b147-a4b352fb3a14.png");
   width: 20px;
   height: 20px;
   clear: both;
}

